package com.evildog.workspace.life.application.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * Note request body
 * </p>
 *
 * @author evildog
 * @since 2020-08-02
 */
@Data
@Accessors(chain = true)
@ApiModel(value="Note查询参数/request body")
public class NoteParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "笔记本id")
    @NotNull(message = "笔记本id不能为空")
    private Long noteBookId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "笔记内容")
    private String content;


}
